[INFO] cloning repository https://github.com/lihe07/hackcomp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lihe07/hackcomp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flihe07%2Fhackcomp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flihe07%2Fhackcomp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 91ace788a249015060f8099cfdae03c75fe6960a
[INFO] fixing lihe07/hackcomp against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flihe07%2Fhackcomp" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/lihe07/hackcomp
[INFO] finished tweaking git repo https://github.com/lihe07/hackcomp
[INFO] tweaked toml for git repo https://github.com/lihe07/hackcomp written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lihe07/hackcomp on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lihe07/hackcomp already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/lihe07/seccompiler.git`
[INFO] [stderr]     Updating git submodule `https://github.com/rust-vmm/rust-vmm-ci.git`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syscalls v0.7.0
[INFO] [stderr]   Downloaded libc_alloc v1.0.7
[INFO] [stderr]   Downloaded rustc-std-workspace-core v1.0.1
[INFO] [stderr]   Downloaded nc v0.9.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d6e9ae15f1b86963932423913b5db209492127fba614f3bb16210816eb50e826
[INFO] running `Command { std: "docker" "start" "d6e9ae15f1b86963932423913b5db209492127fba614f3bb16210816eb50e826", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d6e9ae15f1b86963932423913b5db209492127fba614f3bb16210816eb50e826" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6e9ae15f1b86963932423913b5db209492127fba614f3bb16210816eb50e826", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d6e9ae15f1b86963932423913b5db209492127fba614f3bb16210816eb50e826" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling serde_core v1.0.225
[INFO] [stderr]    Compiling find-msvc-tools v0.1.2
[INFO] [stderr]    Compiling serde v1.0.225
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling thiserror v2.0.16
[INFO] [stderr]    Compiling syscalls v0.7.0
[INFO] [stderr]    Compiling cc v1.2.38
[INFO] [stderr]     Checking rustc-std-workspace-core v1.0.1
[INFO] [stderr]     Checking libc_alloc v1.0.7
[INFO] [stderr]     Checking spin v0.10.0
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking seccompiler v0.5.0 (https://github.com/lihe07/seccompiler.git#22317b6a)
[INFO] [stderr]    Compiling nc v0.9.6
[INFO] [stderr]    Compiling serde_derive v1.0.225
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling thiserror-impl v2.0.16
[INFO] [stderr]     Checking hackcomp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/handler.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 77 |     context: *mut Context,
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_char` and `c_ulong`
[INFO] [stdout]  --> src/handler.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::ffi::{c_char, c_int, c_ulong, c_void};
[INFO] [stdout]   |                 ^^^^^^         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::borrow::ToOwned`
[INFO] [stdout]  --> src/hooks.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use alloc::borrow::ToOwned;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SeccompRule`
[INFO] [stdout]   --> src/hooks.rs:10:69
[INFO] [stdout]    |
[INFO] [stdout] 10 | use seccompiler::{SeccompCmpArgLen, SeccompCmpOp, SeccompCondition, SeccompRule};
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_arg` in this scope
[INFO] [stdout]   --> src/handler.rs:91:20
[INFO] [stdout]    |
[INFO] [stdout] 91 |             *arg = get_arg(context, i);
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `set_ret` in this scope
[INFO] [stdout]    --> src/handler.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         set_ret(context, ctx.return_value.unwrap());
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/hooks.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |     unsafe { CStr::from_ptr(ptr as *const u8) }
[INFO] [stdout]    |              -------------- ^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]    |              |
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*const i8`
[INFO] [stdout]               found raw pointer `*const u8`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ffi/c_str.rs:254:24
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/hooks.rs:424:56
[INFO] [stdout]     |
[INFO] [stdout] 424 |                 let pathname = unsafe { CStr::from_ptr(pathname_ptr) }
[INFO] [stdout]     |                                         -------------- ^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ffi/c_str.rs:254:24
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Context` in this scope
[INFO] [stdout]   --> src/handler.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 77 |     context: *mut Context,
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::task::Context;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `c_char` and `c_ulong`
[INFO] [stdout]  --> src/handler.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::ffi::{c_char, c_int, c_ulong, c_void};
[INFO] [stdout]   |                 ^^^^^^         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::borrow::ToOwned`
[INFO] [stdout]  --> src/hooks.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use alloc::borrow::ToOwned;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SeccompRule`
[INFO] [stdout]   --> src/hooks.rs:10:69
[INFO] [stdout]    |
[INFO] [stdout] 10 | use seccompiler::{SeccompCmpArgLen, SeccompCmpOp, SeccompCondition, SeccompRule};
[INFO] [stdout]    |                                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/hooks.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let len = core::cmp::min(bytes.len(), max_len);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dirfd`
[INFO] [stdout]    --> src/hooks.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 let dirfd = ctx.args[0];
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_dirfd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_arg` in this scope
[INFO] [stdout]   --> src/handler.rs:91:20
[INFO] [stdout]    |
[INFO] [stdout] 91 |             *arg = get_arg(context, i);
[INFO] [stdout]    |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `set_ret` in this scope
[INFO] [stdout]    --> src/handler.rs:142:9
[INFO] [stdout]     |
[INFO] [stdout] 142 |         set_ret(context, ctx.return_value.unwrap());
[INFO] [stdout]     |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sa`
[INFO] [stdout]   --> src/seccomp.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let sa = nc::sigaction_t {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_sa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hackcomp` (lib) due to 5 previous errors; 6 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/hooks.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |     unsafe { CStr::from_ptr(ptr as *const u8) }
[INFO] [stdout]    |              -------------- ^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]    |              |
[INFO] [stdout]    |              arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected raw pointer `*const i8`
[INFO] [stdout]               found raw pointer `*const u8`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ffi/c_str.rs:254:24
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/hooks.rs:424:56
[INFO] [stdout]     |
[INFO] [stdout] 424 |                 let pathname = unsafe { CStr::from_ptr(pathname_ptr) }
[INFO] [stdout]     |                                         -------------- ^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]     |                                         |
[INFO] [stdout]     |                                         arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/core/src/ffi/c_str.rs:254:24
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `len`
[INFO] [stdout]   --> src/hooks.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     let len = core::cmp::min(bytes.len(), max_len);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_len`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dirfd`
[INFO] [stdout]    --> src/hooks.rs:265:21
[INFO] [stdout]     |
[INFO] [stdout] 265 |                 let dirfd = ctx.args[0];
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_dirfd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sa`
[INFO] [stdout]   --> src/seccomp.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let sa = nc::sigaction_t {
[INFO] [stdout]    |             ^^ help: if this is intentional, prefix it with an underscore: `_sa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hackcomp` (lib test) due to 5 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d6e9ae15f1b86963932423913b5db209492127fba614f3bb16210816eb50e826", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6e9ae15f1b86963932423913b5db209492127fba614f3bb16210816eb50e826", kill_on_drop: false }`
[INFO] [stdout] d6e9ae15f1b86963932423913b5db209492127fba614f3bb16210816eb50e826
